package com.wocai.jrt.orgadmin.asset.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class AssetAllocationDetailBean {
    /**
     * order by 排序语句
     * 对应数据库表字段 asset_allocation_detail
     */
    private String orderBy;

    /**
     * 分页开始记录
     * 对应数据库表字段 asset_allocation_detail
     */
    private Integer start;

    /**
     * 分页大小
     * 对应数据库表字段 asset_allocation_detail
     */
    private int pageSize = 10;

    /**
     * 是否指定 distinct 去除重复
     * 对应数据库表字段 asset_allocation_detail
     */
    private boolean distinct;

    /**
     * 逻辑or语句
     * 对应数据库表字段 asset_allocation_detail
     */
    private List<Criteria> oredCriteria;

    /**
     */
    public AssetAllocationDetailBean() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 设置 order by 排序语句
     */
    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    /**
     * 获得 order by 排序语句
     */
    public String getOrderBy() {
        return orderBy;
    }

    /**
     * 设置 start，分页开始记录
     */
    public void setStart(Integer start) {
        this.start = start;
    }

    /**
     * 获得 start，分页开始记录
     */
    public Integer getStart() {
        return start;
    }

    /**
     * 设置 pageSize，分页大小
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 获得 pageSize，分页大小
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * 设置是否指定 distinct 去除重复
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 是否设置了distinct语句，true是，false否。
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 获得逻辑or语句
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * 添加逻辑or语句
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * 添加逻辑and语句
     */
    public void and(Criteria criteria) {
        criteria.setAndRelation(true);
        oredCriteria.add(criteria);
    }

    /**
     * 新建逻辑或or语句
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 新建逻辑and语句
     */
    public Criteria and() {
        Criteria criteria = createCriteriaInternal();
        criteria.setAndRelation(true);
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 创建查询条件，如果逻辑或为空，同时将查询条件放入。
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 创建新查询条件。
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除逻辑或or语句，并且distinct为false，不去重。
     */
    public void clear() {
        oredCriteria.clear();
    }

    /**
     * 该类对应数据库表 asset_allocation_detail
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void orCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition, true));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void orCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value, true));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void orCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2, true));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdIsNull() {
            orCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria orIdIsNotNull() {
            orCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria orIdEqualTo(String value) {
            orCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotEqualTo(String value) {
            orCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdGreaterThan(String value) {
            orCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdGreaterThanOrEqualTo(String value) {
            orCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLessThan(String value) {
            orCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLessThanOrEqualTo(String value) {
            orCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLike(String value) {
            orCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotLike(String value) {
            orCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria orIdIn(List<String> values) {
            orCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotIn(List<String> values) {
            orCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria orIdBetween(String value1, String value2) {
            orCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotBetween(String value1, String value2) {
            orCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdIsNull() {
            addCriterion("asset_allocation_id is null");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdIsNotNull() {
            addCriterion("asset_allocation_id is not null");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdEqualTo(String value) {
            addCriterion("asset_allocation_id =", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdNotEqualTo(String value) {
            addCriterion("asset_allocation_id <>", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdGreaterThan(String value) {
            addCriterion("asset_allocation_id >", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdGreaterThanOrEqualTo(String value) {
            addCriterion("asset_allocation_id >=", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdLessThan(String value) {
            addCriterion("asset_allocation_id <", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdLessThanOrEqualTo(String value) {
            addCriterion("asset_allocation_id <=", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdIsNull() {
            orCriterion("asset_allocation_id is null");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdIsNotNull() {
            orCriterion("asset_allocation_id is not null");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdEqualTo(String value) {
            orCriterion("asset_allocation_id =", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdNotEqualTo(String value) {
            orCriterion("asset_allocation_id <>", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdGreaterThan(String value) {
            orCriterion("asset_allocation_id >", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdGreaterThanOrEqualTo(String value) {
            orCriterion("asset_allocation_id >=", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdLessThan(String value) {
            orCriterion("asset_allocation_id <", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdLessThanOrEqualTo(String value) {
            orCriterion("asset_allocation_id <=", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdLike(String value) {
            addCriterion("asset_allocation_id like", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdNotLike(String value) {
            addCriterion("asset_allocation_id not like", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdLike(String value) {
            orCriterion("asset_allocation_id like", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdNotLike(String value) {
            orCriterion("asset_allocation_id not like", value, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdIn(List<String> values) {
            addCriterion("asset_allocation_id in", values, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdNotIn(List<String> values) {
            addCriterion("asset_allocation_id not in", values, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdBetween(String value1, String value2) {
            addCriterion("asset_allocation_id between", value1, value2, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andAssetAllocationIdNotBetween(String value1, String value2) {
            addCriterion("asset_allocation_id not between", value1, value2, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdIn(List<String> values) {
            orCriterion("asset_allocation_id in", values, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdNotIn(List<String> values) {
            orCriterion("asset_allocation_id not in", values, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdBetween(String value1, String value2) {
            orCriterion("asset_allocation_id between", value1, value2, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria orAssetAllocationIdNotBetween(String value1, String value2) {
            orCriterion("asset_allocation_id not between", value1, value2, "assetAllocationId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(String value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(String value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(String value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(String value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(String value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdIsNull() {
            orCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria orProjectIdIsNotNull() {
            orCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria orProjectIdEqualTo(String value) {
            orCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdNotEqualTo(String value) {
            orCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdGreaterThan(String value) {
            orCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdGreaterThanOrEqualTo(String value) {
            orCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdLessThan(String value) {
            orCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdLessThanOrEqualTo(String value) {
            orCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLike(String value) {
            addCriterion("project_id like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotLike(String value) {
            addCriterion("project_id not like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdLike(String value) {
            orCriterion("project_id like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdNotLike(String value) {
            orCriterion("project_id not like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<String> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<String> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(String value1, String value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(String value1, String value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdIn(List<String> values) {
            orCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdNotIn(List<String> values) {
            orCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdBetween(String value1, String value2) {
            orCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria orProjectIdNotBetween(String value1, String value2) {
            orCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountIsNull() {
            orCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria orAmountIsNotNull() {
            orCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria orAmountEqualTo(BigDecimal value) {
            orCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountNotEqualTo(BigDecimal value) {
            orCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountGreaterThan(BigDecimal value) {
            orCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountGreaterThanOrEqualTo(BigDecimal value) {
            orCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountLessThan(BigDecimal value) {
            orCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountLessThanOrEqualTo(BigDecimal value) {
            orCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountIn(List<BigDecimal> values) {
            orCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountNotIn(List<BigDecimal> values) {
            orCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andBankNameIsNull() {
            addCriterion("bank_name is null");
            return (Criteria) this;
        }

        public Criteria andBankNameIsNotNull() {
            addCriterion("bank_name is not null");
            return (Criteria) this;
        }

        public Criteria andBankNameEqualTo(String value) {
            addCriterion("bank_name =", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotEqualTo(String value) {
            addCriterion("bank_name <>", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameGreaterThan(String value) {
            addCriterion("bank_name >", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("bank_name >=", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameLessThan(String value) {
            addCriterion("bank_name <", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameLessThanOrEqualTo(String value) {
            addCriterion("bank_name <=", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameIsNull() {
            orCriterion("bank_name is null");
            return (Criteria) this;
        }

        public Criteria orBankNameIsNotNull() {
            orCriterion("bank_name is not null");
            return (Criteria) this;
        }

        public Criteria orBankNameEqualTo(String value) {
            orCriterion("bank_name =", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameNotEqualTo(String value) {
            orCriterion("bank_name <>", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameGreaterThan(String value) {
            orCriterion("bank_name >", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameGreaterThanOrEqualTo(String value) {
            orCriterion("bank_name >=", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameLessThan(String value) {
            orCriterion("bank_name <", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameLessThanOrEqualTo(String value) {
            orCriterion("bank_name <=", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameLike(String value) {
            addCriterion("bank_name like", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotLike(String value) {
            addCriterion("bank_name not like", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameLike(String value) {
            orCriterion("bank_name like", value, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameNotLike(String value) {
            orCriterion("bank_name not like", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameIn(List<String> values) {
            addCriterion("bank_name in", values, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotIn(List<String> values) {
            addCriterion("bank_name not in", values, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameBetween(String value1, String value2) {
            addCriterion("bank_name between", value1, value2, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotBetween(String value1, String value2) {
            addCriterion("bank_name not between", value1, value2, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameIn(List<String> values) {
            orCriterion("bank_name in", values, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameNotIn(List<String> values) {
            orCriterion("bank_name not in", values, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameBetween(String value1, String value2) {
            orCriterion("bank_name between", value1, value2, "bankName");
            return (Criteria) this;
        }

        public Criteria orBankNameNotBetween(String value1, String value2) {
            orCriterion("bank_name not between", value1, value2, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankDepositIsNull() {
            addCriterion("bank_deposit is null");
            return (Criteria) this;
        }

        public Criteria andBankDepositIsNotNull() {
            addCriterion("bank_deposit is not null");
            return (Criteria) this;
        }

        public Criteria andBankDepositEqualTo(String value) {
            addCriterion("bank_deposit =", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositNotEqualTo(String value) {
            addCriterion("bank_deposit <>", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositGreaterThan(String value) {
            addCriterion("bank_deposit >", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositGreaterThanOrEqualTo(String value) {
            addCriterion("bank_deposit >=", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositLessThan(String value) {
            addCriterion("bank_deposit <", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositLessThanOrEqualTo(String value) {
            addCriterion("bank_deposit <=", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositIsNull() {
            orCriterion("bank_deposit is null");
            return (Criteria) this;
        }

        public Criteria orBankDepositIsNotNull() {
            orCriterion("bank_deposit is not null");
            return (Criteria) this;
        }

        public Criteria orBankDepositEqualTo(String value) {
            orCriterion("bank_deposit =", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositNotEqualTo(String value) {
            orCriterion("bank_deposit <>", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositGreaterThan(String value) {
            orCriterion("bank_deposit >", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositGreaterThanOrEqualTo(String value) {
            orCriterion("bank_deposit >=", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositLessThan(String value) {
            orCriterion("bank_deposit <", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositLessThanOrEqualTo(String value) {
            orCriterion("bank_deposit <=", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositLike(String value) {
            addCriterion("bank_deposit like", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositNotLike(String value) {
            addCriterion("bank_deposit not like", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositLike(String value) {
            orCriterion("bank_deposit like", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositNotLike(String value) {
            orCriterion("bank_deposit not like", value, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositIn(List<String> values) {
            addCriterion("bank_deposit in", values, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositNotIn(List<String> values) {
            addCriterion("bank_deposit not in", values, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositBetween(String value1, String value2) {
            addCriterion("bank_deposit between", value1, value2, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankDepositNotBetween(String value1, String value2) {
            addCriterion("bank_deposit not between", value1, value2, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositIn(List<String> values) {
            orCriterion("bank_deposit in", values, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositNotIn(List<String> values) {
            orCriterion("bank_deposit not in", values, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositBetween(String value1, String value2) {
            orCriterion("bank_deposit between", value1, value2, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria orBankDepositNotBetween(String value1, String value2) {
            orCriterion("bank_deposit not between", value1, value2, "bankDeposit");
            return (Criteria) this;
        }

        public Criteria andBankAccountIsNull() {
            addCriterion("bank_account is null");
            return (Criteria) this;
        }

        public Criteria andBankAccountIsNotNull() {
            addCriterion("bank_account is not null");
            return (Criteria) this;
        }

        public Criteria andBankAccountEqualTo(String value) {
            addCriterion("bank_account =", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotEqualTo(String value) {
            addCriterion("bank_account <>", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountGreaterThan(String value) {
            addCriterion("bank_account >", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountGreaterThanOrEqualTo(String value) {
            addCriterion("bank_account >=", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountLessThan(String value) {
            addCriterion("bank_account <", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountLessThanOrEqualTo(String value) {
            addCriterion("bank_account <=", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountIsNull() {
            orCriterion("bank_account is null");
            return (Criteria) this;
        }

        public Criteria orBankAccountIsNotNull() {
            orCriterion("bank_account is not null");
            return (Criteria) this;
        }

        public Criteria orBankAccountEqualTo(String value) {
            orCriterion("bank_account =", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountNotEqualTo(String value) {
            orCriterion("bank_account <>", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountGreaterThan(String value) {
            orCriterion("bank_account >", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountGreaterThanOrEqualTo(String value) {
            orCriterion("bank_account >=", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountLessThan(String value) {
            orCriterion("bank_account <", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountLessThanOrEqualTo(String value) {
            orCriterion("bank_account <=", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountLike(String value) {
            addCriterion("bank_account like", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotLike(String value) {
            addCriterion("bank_account not like", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountLike(String value) {
            orCriterion("bank_account like", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountNotLike(String value) {
            orCriterion("bank_account not like", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountIn(List<String> values) {
            addCriterion("bank_account in", values, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotIn(List<String> values) {
            addCriterion("bank_account not in", values, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountBetween(String value1, String value2) {
            addCriterion("bank_account between", value1, value2, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotBetween(String value1, String value2) {
            addCriterion("bank_account not between", value1, value2, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountIn(List<String> values) {
            orCriterion("bank_account in", values, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountNotIn(List<String> values) {
            orCriterion("bank_account not in", values, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountBetween(String value1, String value2) {
            orCriterion("bank_account between", value1, value2, "bankAccount");
            return (Criteria) this;
        }

        public Criteria orBankAccountNotBetween(String value1, String value2) {
            orCriterion("bank_account not between", value1, value2, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(String value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(String value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(String value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(String value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(String value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdIsNull() {
            orCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria orOrgIdIsNotNull() {
            orCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria orOrgIdEqualTo(String value) {
            orCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotEqualTo(String value) {
            orCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdGreaterThan(String value) {
            orCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdGreaterThanOrEqualTo(String value) {
            orCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLessThan(String value) {
            orCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLessThanOrEqualTo(String value) {
            orCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(String value) {
            addCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(String value) {
            addCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLike(String value) {
            orCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotLike(String value) {
            orCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<String> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<String> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(String value1, String value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(String value1, String value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdIn(List<String> values) {
            orCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotIn(List<String> values) {
            orCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdBetween(String value1, String value2) {
            orCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotBetween(String value1, String value2) {
            orCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }
    }

    /**
     * 该类对应数据库表 asset_allocation_detail
     */
    public static class Criteria extends GeneratedCriteria {
        protected boolean andRelation;

        public boolean isAndRelation() {
            return andRelation;
        }

        protected Criteria() {
            super();
        }

        public void setAndRelation(boolean andRelation) {
            this.andRelation = andRelation;
        }
    }

    /**
     * 该类对应数据库表 asset_allocation_detail
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean orValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isOrValue() {
            return orValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, boolean orValue) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
            this.orValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, boolean orValue) {
            this(condition, value, null);
            this.orValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, boolean orValue) {
            this(condition, value, secondValue, null);
            this.orValue = true;
        }
    }
}